<!DOCTYPE html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
  <title><?=$page_title?> Alpaca CMS </title>
  <meta name="keywords" content="<?=$meta_keywords?>"/>
  <meta name="description" content="<?=$meta_description?>"/>
  <link href="/static/alpaca.css" rel="stylesheet">
  <script charset="utf-8" src="static/js/jquery.js"></script>
  <script charset="utf-8" src="static/js/alpaca.js"></script>
</head>
<body>
  <div class="wrap">

    <ul id="nav" >
      <?foreach($menu as $url=>$m) {?>
      <li  class="<?=($url==seg(2))?'hover':''?>" ><a class="nav-link " href="<?=(($url == 'logout') ? '?/':'?/admin/').$url?>/"><?=$m?></a></li><?}?>
        <li class="<?=('site'==seg(2))?'hover':''?>" ><a class="nav-link "  href="?/admin/site" >[ <?=$site['name']?> ]</a></li>
    </ul>
    <div class="gray">
      <?=$al_content?>
    </div>
  </div>
</body>
</html>
